package string;

public class CharAtDemo {
    public static void main(String[] args) {
        /*
        String str="thinking in java";
        char c=str.charAt(9);
        System.out.println(c);

         */
        String str="thinking in java";
        char c=str.charAt(9);
        System.out.println(c);
        char c1=str.charAt(0);
        System.out.println(c1);

        String st="九亿少女的梦";
        char s=st.charAt(2);
        char l=st.charAt(1);

    }
}
